ostree/config: Check for too many args
authorMatthew Leeds <matthew.leeds@endlessm.com>
Fri, 1 Mar 2019 00:19:41 +0000 (16:19 -0800)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 1 Mar 2019 16:29:44 +0000 (16:29 +0000)
commitcfc6046689f828cff4f914fdddb1350f7b576f42
tree22d0351b3a434eb45f0da30ce31de7d4ec063621
parent656853a98aac0e96167602cbfa2f835890679304
ostree/config: Check for too many args

Currently it's not an error to provide too many arguments to an ostree
config command. Change it so we print usage information in that case,
and update the unit tests.

Closes: #1743
Approved by: cgwalters
src/ostree/ot-builtin-config.c
tests/test-config.sh